<template>
  <span class="custom-badge">
    <span class="badge-text">{{ text }}</span>
  </span>
</template>

<script>
export default {
  props: ['text']
}
</script>

<style scoped>
.badge-text {
  color: red;
}
.custom-badge {
  background-color: transparent;
  padding: 0; /* 可选：去掉内边距更贴近文本 */
}
</style>
